This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
in LScript ~Phil Nimtoolyynds 22.Jan.04 02:44 PM a Web browser Applications Development All ReleasesAll Platforms
Try this:
Forall a In srcDb.Agents
If a.Name = sAgentName Then
Set agent = a
On Error 4000 Goto ERRORLABEL
If agent.RunOnServer() = 0 Then
On Error Goto 0
msg = "END " & a.name & " ran successfully"
Exit Forall
Else
On Error Goto 0
msg = "END " & a.name & " ran with failure"
Exit Forall
End If
End If
End Forall